package com.xiaoshuidi.cloud.module.contract.convert.approval;


import com.xiaoshuidi.cloud.module.contract.controller.admin.approval.vo.ContractActiveAssociationCreateReqVO;
import com.xiaoshuidi.cloud.module.contract.controller.admin.approval.vo.ContractActiveAssociationUpdateReqVO;
import com.xiaoshuidi.cloud.module.contract.dal.dataobject.approval.ContractActiveAssociationDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 业务和审批流关联 Convert
 *
 * @author 合房租赁
 */
@Mapper
public interface ContractActiveAssociationConvert {

    ContractActiveAssociationConvert INSTANCE = Mappers.getMapper(ContractActiveAssociationConvert.class);

    ContractActiveAssociationDO convert(ContractActiveAssociationCreateReqVO bean);

    ContractActiveAssociationDO convert(ContractActiveAssociationUpdateReqVO bean);


}
